package GoFPatterns.kuang.method.service.impl;

import GoFPatterns.kuang.method.dao.CarDao;
import GoFPatterns.kuang.method.dao.impl.CarDaoImpl;
import GoFPatterns.kuang.method.factory.BWMFactory;
import GoFPatterns.kuang.method.factory.CarFactory;
import GoFPatterns.kuang.method.service.CarService;

public class BWMServiceImpl implements CarService {
//    private CarDao dao = new CarDaoImpl();
    @Override
    public void buy() {
        CarFactory factory = new BWMFactory();
        factory.Car().getCar();
    }
}
